/**
 * Created by Administrator on 2017/2/27.
 */
var SideBar = require('../../src/complex/sideBar');

var Root = React.createClass({
    getInitialState: function () {
        return{
            sideBarItem:PageDM.sideBar.value
        }
    },
    componentDidMount: function(){
        UEventHub.emit("pageLoad","hello world!");
    },
    render: function() {
        return (
            <div>
                <div className="mod-account container">
                    <div className="sub-nav">
                        <SideBar sideBarItem={this.state.sideBarItem}/>
                    </div>
                    <div className="account padding">
                        <div className="help-main">
                            <div className="mod-title title"><b></b>平台介绍<b></b></div>
                            <div className="mod-about">
                                <p>“新银e融”是新昌农商银行秉持“惠农利民 助企兴商”使命，倾力打造的一个互联网财富增值平台。该平台致力于通过互联网技术打通投资人与融资人的资金流通壁垒，为投资人提供风险低、收益高的投资产品，实现财富稳健增值；同时也为融资者提供高效、便捷、专业的融资服务，解决其融资难题。</p>
                            </div>
                            <div className="mod-title title"><b></b>平台原理<b></b></div>
                            <div className="mod-about">
                                <p align="center"><img src="../content/images/help/a1.jpg" alt="新银e融平台原理"/></p>
                            </div>

                            <div className="clear"></div>
                        </div>
                    </div>
                    <div className="clear"></div>
                </div>
            </div>
        )
    }
});
ReactDOM.render(<Root/>, document.getElementById('giraffe'));